RectRgn
RectRgn Set region to simple rectangle
#include <Quickdraw.h> Quickdraw
void RectRgn(theRgn, theRect );
RgnHandle theRgn ; region to re define; must already exist
Rect *theRect ; rectangle with desired shape and position
RectRgn performs the common operation of defining a rectangular region.
The new region shape is specified by an existing Rect structure.
theRgn is the handle of a region. It must already have been created via
theRect is the address of an 8-byte Rect structure. It describes the shape
and position desired for theRgn .
Returns: none

Notes: This function discards the current structure of a region and sets it to
define a rectangular area. RectRgn is functionally equivalent to:
FrameRect( & theRect);
CloseRgn( theRgn );
Note that you must call NewRgn to allocate the handle's master pointer and
the Region structure data area BEFORE calling RectRgn.
The SetRectRgn function does the same thing, but uses the four
coordinates of the sides of a rectangle as its parameters.